﻿using System.Reflection;

namespace Borg
{
    public class CancelTaskEventArgs : TaskEventArgs, ICancelEventArgs
    {
        public bool Cancel { get; set; }

        public CancelTaskEventArgs(ITask task, Assembly initiator)
            : base(task, initiator)
        { }
    }

    public delegate void CancelTaskEventHandler(object sender, CancelTaskEventArgs args);
}

